{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "98d77a9c",
   "metadata": {},
   "source": [
    " ### 上周学习内容\n",
    " * A. python的第一行代码\n",
    " * B. 观察标准库\n",
    "\n",
    " ### 重要资源：\n",
    " > [PYTHON 官网](https://python.org)\n",
    "\n",
    " > [blog](https://cnblogs.com/xuzhichao)\n",
    "\n",
    "\n",
    "### 本周学习内容\n",
    "\n",
    "\n",
    "### 1. python环境配置\n",
    " * A. [pycharm](https://www.jetbrains.com/pycharm/)\n",
    " > a.项目管理类的IDE\n",
    "\n",
    " > b.[github education package](https://education.github.com/pack)可获取免费一年专业版使用\n",
    "\n",
    " ### 2. 项目1：奇数中选择指定时间\n",
    "\n",
    " ### 3. 变量\n",
    "\n",
    " ### 4. if else 条件判断"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "934f2b18",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "This minute seems a little odd.\n"
     ]
    }
   ],
   "source": [
    "from datetime import datetime\n",
    "\n",
    "odds = [  1, 3,  5,  7,  9, 11,13,15,17,19\n",
    "             ,21,23,25,27,29,31,33,35,37,39\n",
    "             ,41,43,45,47,49,51,53,55,57,59]\n",
    "\n",
    "right_this_minute = datetime.today().minute\n",
    "\n",
    "if right_this_minute in odds:\n",
    "    print(\"This minute seems a little odd.\")\n",
    "else:\n",
    "    print(\"Not an odd minute.\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "f708d009",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "6"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "datetime.today().minute"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "ad3b9324",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "d52d714d",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
